PORTNAME=	darkbar
PORTVERSION=	1.0.1
CATEGORIES=	x11

MAINTAINER=	duchateau.olivier@gmail.com
COMMENT=	Darken application titlebars based on your preference
WWW=		https://github.com/bluesabre/darkbar

LICENSE=	GPLv3+
LICENSE_FILE=	${WRKSRC}/LICENSE

LIB_DEPENDS=	libgee-0.8.so:devel/libgee \
		libhandy-1.so:x11-toolkits/libhandy
RUN_DEPENDS=	xprop:x11/xprop \
		xdotool:x11/xdotool

USES=		gettext gnome meson pkgconfig python:3.7+,build \
		xorg
USE_GNOME=	glib20 gtk30 libwnck3
USE_XORG=	x11

USE_GITHUB=	yes
GH_ACCOUNT=	bluesabre

BINARY_ALIAS=	python3=${PYTHON_CMD}

GLIB_SCHEMAS=	com.github.bluesabre.darkbar.gschema.xml

.include <bsd.port.mk>
